const express = require("express")
const router = express.Router()
const goodsApi = require("../../api/goods")

router.post("/addGoods", goodsApi.addGoods) // 新增商品
router.post("/editGoods", goodsApi.editGoods) // 编辑商品
router.get("/deleteGoods", goodsApi.deleteGoods) // 删除商品
router.post("/goodsListPage", goodsApi.goodsListPage) // 获取列表

module.exports = router
